package com.lab.idea.bl.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lab.idea.mybatis.entity.LabEntity;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 输出查询过滤
 * </p>
 *
 * @author lab
 * @since 2023-11-07
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("bl_excel_filter")
@ApiModel(value = "ExcelFilter对象", description = "输出查询过滤")
public class ExcelFilter extends LabEntity<ExcelFilter> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "filterId", type = IdType.ASSIGN_ID)
    private String filterId;

    @TableField("filterName")
    private String filterName;

    @TableField("filterProp")
    private String filterProp;

    @TableField("filterType")
    private String filterType;

    @TableField("outId")
    private String outId;

    @TableField("excelId")
    private String excelId;

    @TableField("filterOrder")
    private Integer filterOrder;

    @TableField("filterSource")
    private String filterSource;

    @Override
    public Serializable pkVal() {
        return this.filterId;
    }
}
